Repository navigation
Retry peers_cli tests on the Windows CI profile - #142
Merged
Merged
Conversation
The peers tests start two real servers and the second one sometimes misses the 5 s health wait on the Windows runner (#136). Retry the binary up to three times with a 10 s pause until the startup delay is diagnosed on a Windows machine; a test that fails every attempt still fails the job.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
peers_clitests start two real servers. On the Windows runner the second one sometimes misses the 5 s health wait ("the server did not become healthy"), which failed #140 twice before a manual re-run passed.This adds a
ci-windowsnextest override that retries only thecyber-cli::peers_clibinary up to three times with a fixed 10 s pause. A test that fails every attempt still fails the job, and nextest reports retried tests as flaky, so the signal is kept.This is a CI mitigation, not a fix: the startup delay still needs diagnosing on a Windows machine, tracked in #136. No product behavior changes, so there is no regression test or doc update.